package com.fancy.projecty.mapper;

import com.fancy.projecty.pojo.WaterAgent;

import java.util.List;
import java.util.Map;

/**
 * WaterAgentMapper.xml
 * 代理商Mapper
 */
public interface WaterAgentMapper  {

	int insertSelective(WaterAgent record);
	WaterAgent selectAgentByUserName(String username);

	WaterAgent selectById(Integer id);

	List<WaterAgent> selectAll(Map map);

	int updateByPrimaryKeySelective(WaterAgent waterAgent);

}